package pl.enigmatic.parser.string.java.lang;

import pl.enigmatic.parser.string.Converter;


public class ShortConverter extends Converter.Primitive<Short> {

	@Override
	protected Short convertEmptyString() {
		return 0;
	}

	@Override
	protected Short convertNonEmptyString(final String value) {
		return Short.parseShort(value);
	}

}
